package com._21cn.cms.yellow.service;

import com._21cn.cms.yellow.dao.YellowPagePictureDao;
import com._21cn.cms.yellow.entity.YellowPagePicture;
import com._21cn.framework.base.db.BaseDao;
import com._21cn.framework.base.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor={Exception.class})
@Service("yellowPagePictureService")
public class YellowPagePictureService extends BaseServiceImpl<YellowPagePicture>
{

    @Autowired
    private YellowPagePictureDao yellowPagePictureDao;

    protected BaseDao<YellowPagePicture> getBaseDao()
    {
        return this.yellowPagePictureDao;
    }
}